//
//  LJFDetailtopView.h
//  SevenZhou
//
//  Created by qianfeng on 15/9/20.
//  Copyright (c) 2015年 ljf. All rights reserved.
//

#import <UIKit/UIKit.h>

@class LJFDetailtopView;

@protocol DetailtopViewDelegate <NSObject>

- (void)DetailtopViewOffsetCollection:(LJFDetailtopView *)topview andoffset:(NSInteger)index;

@end

@interface LJFDetailtopView : UIView<UIScrollViewDelegate>

@property (nonatomic, strong) NSDictionary *dataDict;

@property (weak, nonatomic) IBOutlet UIScrollView *ScrollView;

@property (weak, nonatomic) IBOutlet UILabel *nameLabel;

@property (weak, nonatomic) IBOutlet UILabel *shopPriceLabel;

@property (weak, nonatomic) IBOutlet UILabel *smarkPriceLabel;

@property (weak, nonatomic) IBOutlet UILabel *alreadyShop;

@property (weak, nonatomic) IBOutlet UILabel *scoreLabel;

@property (weak, nonatomic) IBOutlet UIImageView *StartIamge;

@property (nonatomic, strong) UIPageControl *page;

@property (nonatomic, assign) NSInteger index;

@property (nonatomic, strong) NSTimer *time;

@property (weak, nonatomic) IBOutlet UIView *greenSlider;

@property (weak, nonatomic) IBOutlet NSLayoutConstraint *greenWith;

@property (weak, nonatomic) IBOutlet NSLayoutConstraint *greenX;

@property (nonatomic, weak) id<DetailtopViewDelegate> delegate;

@property (weak, nonatomic) IBOutlet UIImageView *discountImg;

@property (weak, nonatomic) IBOutlet UILabel *discountLabel;

@property (weak, nonatomic) IBOutlet NSLayoutConstraint *discountConstant;


@property (weak, nonatomic) IBOutlet NSLayoutConstraint *hiddenViewW;


@end
